cmake_minimum_required(VERSION 3.10.0)

set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)

set(CMAKE_BUILD_PARALLEL_LEVEL 1)
project(gimbal VERSION 1.0.0 LANGUAGES C CXX)

include_directories(${CMAKE_SOURCE_DIR}/include)
set(Src   
    main.cpp
    src/udp_client.cpp
    src/camera_packet.cpp
    src/service_camera.cpp
    src/serial_port.cpp
)


add_executable(${PROJECT_NAME} ${Src})
target_link_libraries(${PROJECT_NAME} pthread)
